package lab4Source;

public class S_Debug {
	public static int counter;
	
	public static void printRectangle(java.awt.Rectangle r) {
		System.out.println(S_Debug.rectangleToString(r));
	}
	
	public static String rectangleToString(java.awt.Rectangle r) {
		return "Rect: x: " + r.getX() + ", y: " + r.getY() + ", w: " + r.getWidth() + ", h: " + r.getHeight();
	}
	
	public static String compareRect(java.awt.Rectangle r1, java.awt.Rectangle r2) {
		if (r1.equals(r2)) {
			return "Equals";
		}
		return "Different";
	}

}
